package com.stone.business.gzrwd.pojo;

import java.math.BigDecimal;
import java.util.Date;

import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

/**
 * 工作任务单
 */
@Entity
@Table(name = "TAB_GZRWD")
public class TGzrwd implements java.io.Serializable {

    // Fields
	
	private Long id;
	
	/**
	 * 日期
	 */
	private Date rq;
	
	/**
	 * 编号
	 */
	private String bh;
	
	/**
	 * 工作任务
	 */
	private String gzrw;
	
	/**
	 * 是否完成
	 */
	private String sfwc = "0";
	
	/**
	 * 工作任务未完成原因及处理情况：
	 */
	private String ycclqk;
	
	/**
	 * 风险告知
	 */
	private String fxgz;
	
	/**
	 * 告知人
	 */
	private String gzr;	
	
	/**
	 * 被告知人
	 */
	private String bgzr;
	
	/**
	 * 派车时间
	 */
	private Date pcsj;
	
	/**
	 * 车型车号
	 */
	private String cxch;
	
	/**
	 * 总行驶里程
	 */
	private BigDecimal zxslc;
	
	/**
	 * 还车时间
	 */
	private Date hcsj;
	
	/**
	 * 驾驶员签字
	 */
	private String jsyqz;
	
	/**
	 * 派车人签字
	 */
	private String pcrqz;
	
	/**
	 * 实际发车时间
	 */
	private Date sjfcsj;
	
	/**
	 * 起始表码
	 */
	private BigDecimal qsbm;
	
	/**
	 * 驾驶员签字
	 */
	private String jsyqz2;

	
	/**
	 * OUID
	 */
	private String ouid;	
	
	/**
	 * 创建人
	 */
	private String cjr;
	
	/**
	 * 创建时间
	 */
	private Date cjsj;
	
	/**
	 * 修改人
	 */
	private String xgr;
	
	/**
	 * 修改时间
	 */
	private Date xgsj;
	
	/**
	 * 状态0:工作任务单有票当值9:历史  5:工作任务单无票当值6:无票历史
	 */
	private String state;
	
	/**
	 * 值班长
	 */
	private String zbz;
	private String zbzname;
	
	/**
	 * 值班员
	 */
	private String zby;
	private String zbyname;
	
	private Long cjrid;
	private Long xgrid;		
	 
	/**
	 * 到位人员
	 */
	private String dwry;			
	private String dwryname;
	
	/**
	 * 操作人
	 */
	private String czr;			
	private String czrname;
	/**
	 * 变电站
	 */
	private String bdz;
	private String bdzname;	
	/**
	 * 操作开始时间
	 */
	private Date czkssj;
	
	/**
	 * 操作结束时间
	 */
	private Date czjssj;
	
	private String gzpno;	
	private String zlkzk;	
	private String fxbskzk	;
	private String tsbg	;
	private String tcbz	;
	
	private String remark;	
	private String wcqk;//完成情况(无票)	
	private String ylwt;	//遗留问题(无票)
	private String type;//类型
	/**
	 * 工作计划id
	 */
	private Long planid;
	/**
	 * 工时
	 */
	private Integer gs = 8;//by wangtao update20120702
	/**
	 * 外用工数
	 */
	private Integer wygs = 0;
	/**
	 * 作业控制卡是否完成
	 */
	private String zykzksfwc;
	/**
	 * 风险辨识控制卡是否完成
	 */
	private String fxbskzksfwc;
	/**
	 * 标准指导书是否完成
	 */
	private String zdssfwc;
	/**
	 * 工序质量控制卡是否完成
	 */
	private String gxzlkzksfwc;
	/**
	 * PMS是否完成
	 */
	private String pmssfwc;
	/**
	 * 186是否完成
	 */
	private String y86sfwc;
	/**
	 * 工作票是否完成
	 */
	private String gzpsfwc;
	private String gcjs;    //工程建设
	public String getDwry() {
		return dwry;
	}

	public void setDwry(String dwry) {
		this.dwry = dwry;
	}

	public String getDwryname() {
		return dwryname;
	}

	public void setDwryname(String dwryname) {
		this.dwryname = dwryname;
	}

	public String getCzr() {
		return czr;
	}

	public void setCzr(String czr) {
		this.czr = czr;
	}

	public String getCzrname() {
		return czrname;
	}

	public void setCzrname(String czrname) {
		this.czrname = czrname;
	}

	public String getBdz() {
		return bdz;
	}

	public void setBdz(String bdz) {
		this.bdz = bdz;
	}

	public String getBdzname() {
		return bdzname;
	}

	public void setBdzname(String bdzname) {
		this.bdzname = bdzname;
	}

	public String getGzpno() {
		return gzpno;
	}

	public void setGzpno(String gzpno) {
		this.gzpno = gzpno;
	}

	public String getZlkzk() {
		return zlkzk;
	}

	public void setZlkzk(String zlkzk) {
		this.zlkzk = zlkzk;
	}

	public String getFxbskzk() {
		return fxbskzk;
	}

	public void setFxbskzk(String fxbskzk) {
		this.fxbskzk = fxbskzk;
	}

	public String getTsbg() {
		return tsbg;
	}

	public void setTsbg(String tsbg) {
		this.tsbg = tsbg;
	}

	public String getTcbz() {
		if(this.tcbz==null){
			this.tcbz="";
		}
		return tcbz;
	}

	public void setTcbz(String tcbz) {
		this.tcbz = tcbz;
	}

	

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	
	public String getWcqk() {
		return wcqk;
	}

	public void setWcqk(String wcqk) {
		this.wcqk = wcqk;
	}

	public String getYlwt() {
		return ylwt;
	}

	public void setYlwt(String ylwt) {
		this.ylwt = ylwt;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	
    @Id
    @GeneratedValue(strategy=GenerationType.SEQUENCE, generator="SEQ_GZRWD")
    @SequenceGenerator(name="SEQ_GZRWD",allocationSize=1, sequenceName="SEQ_GZRWD")
    public Long getId() {
        return this.id;
    }

	public String getGzrw() {
		return gzrw;
	}

	public void setGzrw(String gzrw) {
		this.gzrw = gzrw;
	}

	public String getSfwc() {
		return sfwc;
	}

	public void setSfwc(String sfwc) {
		this.sfwc = sfwc;
	}

	public String getYcclqk() {
		return ycclqk;
	}

	public void setYcclqk(String ycclqk) {
		this.ycclqk = ycclqk;
	}

	public String getGzr() {
		return gzr;
	}

	public void setGzr(String gzr) {
		this.gzr = gzr;
	}

	public String getBgzr() {
		return bgzr;
	}

	public void setBgzr(String bgzr) {
		this.bgzr = bgzr;
	}

	public Date getPcsj() {
		return pcsj;
	}

	public void setPcsj(Date pcsj) {
		this.pcsj = pcsj;
	}

	public String getCxch() {
		return cxch;
	}

	public void setCxch(String cxch) {
		this.cxch = cxch;
	}

	public BigDecimal getZxslc() {
		return zxslc;
	}

	public void setZxslc(BigDecimal zxslc) {
		this.zxslc = zxslc;
	}

	public Date getHcsj() {
		return hcsj;
	}

	public void setHcsj(Date hcsj) {
		this.hcsj = hcsj;
	}

	public String getJsyqz() {
		return jsyqz;
	}

	public void setJsyqz(String jsyqz) {
		this.jsyqz = jsyqz;
	}

	public String getPcrqz() {
		return pcrqz;
	}

	public void setPcrqz(String pcrqz) {
		this.pcrqz = pcrqz;
	}

	public Date getSjfcsj() {
		return sjfcsj;
	}

	public void setSjfcsj(Date sjfcsj) {
		this.sjfcsj = sjfcsj;
	}

	public BigDecimal getQsbm() {
		return qsbm;
	}

	public void setQsbm(BigDecimal qsbm) {
		this.qsbm = qsbm;
	}

	public String getJsyqz2() {
		return jsyqz2;
	}

	public void setJsyqz2(String jsyqz2) {
		this.jsyqz2 = jsyqz2;
	}

	public String getOuid() {
		return ouid;
	}

	public void setOuid(String ouid) {
		this.ouid = ouid;
	}

	public String getCjr() {
		return cjr;
	}

	public void setCjr(String cjr) {
		this.cjr = cjr;
	}

	public Date getCjsj() {
		return cjsj;
	}

	public void setCjsj(Date cjsj) {
		this.cjsj = cjsj;
	}

	public String getXgr() {
		return xgr;
	}

	public void setXgr(String xgr) {
		this.xgr = xgr;
	}

	public Date getXgsj() {
		return xgsj;
	}

	public void setXgsj(Date xgsj) {
		this.xgsj = xgsj;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getBh() {
		return bh;
	}

	public void setBh(String bh) {
		this.bh = bh;
	}

	public Date getRq() {
		return rq;
	}

	public void setRq(Date rq) {
		this.rq = rq;
	}

	public String getFxgz() {
		return fxgz;
	}

	public void setFxgz(String fxgz) {
		this.fxgz = fxgz;
	}

	public String getState() {
		return state;
	}

	public void setState(String state) {
		this.state = state;
	}

	public String getZbz() {
		return zbz;
	}

	public void setZbz(String zbz) {
		this.zbz = zbz;
	}

	public String getZbzname() {
		return zbzname;
	}

	public void setZbzname(String zbzname) {
		this.zbzname = zbzname;
	}

	public String getZby() {
		return zby;
	}

	public void setZby(String zby) {
		this.zby = zby;
	}

	public String getZbyname() {
		return zbyname;
	}

	public void setZbyname(String zbyname) {
		this.zbyname = zbyname;
	}

	public Long getCjrid() {
		return cjrid;
	}

	public void setCjrid(Long cjrid) {
		this.cjrid = cjrid;
	}

	public Long getXgrid() {
		return xgrid;
	}

	public void setXgrid(Long xgrid) {
		this.xgrid = xgrid;
	}

	public Date getCzkssj() {
		return czkssj;
	}

	public void setCzkssj(Date czkssj) {
		this.czkssj = czkssj;
	}

	public Date getCzjssj() {
		return czjssj;
	}

	public void setCzjssj(Date czjssj) {
		this.czjssj = czjssj;
	}

	public Long getPlanid() {
		return planid;
	}

	public void setPlanid(Long planid) {
		this.planid = planid;
	}

	public Integer getGs() {
		return gs;
	}

	public void setGs(Integer gs) {
		this.gs = gs;
	}

	public String getZykzksfwc() {
		return zykzksfwc;
	}

	public void setZykzksfwc(String zykzksfwc) {
		this.zykzksfwc = zykzksfwc;
	}

	public String getFxbskzksfwc() {
		return fxbskzksfwc;
	}

	public void setFxbskzksfwc(String fxbskzksfwc) {
		this.fxbskzksfwc = fxbskzksfwc;
	}

	public String getZdssfwc() {
		return zdssfwc;
	}

	public void setZdssfwc(String zdssfwc) {
		this.zdssfwc = zdssfwc;
	}

	public String getGxzlkzksfwc() {
		return gxzlkzksfwc;
	}

	public void setGxzlkzksfwc(String gxzlkzksfwc) {
		this.gxzlkzksfwc = gxzlkzksfwc;
	}

	public String getPmssfwc() {
		return pmssfwc;
	}

	public void setPmssfwc(String pmssfwc) {
		this.pmssfwc = pmssfwc;
	}

	public String getY86sfwc() {
		return y86sfwc;
	}

	public void setY86sfwc(String y86sfwc) {
		this.y86sfwc = y86sfwc;
	}

	public String getGzpsfwc() {
		return gzpsfwc;
	}

	public void setGzpsfwc(String gzpsfwc) {
		this.gzpsfwc = gzpsfwc;
	}

	public Integer getWygs() {
		return wygs;
	}

	public void setWygs(Integer wygs) {
		this.wygs = wygs;
	}
	public String getGcjs() {
		return gcjs;
	}
	public void setGcjs(String gcjs) {
		this.gcjs = gcjs;
	}
}